<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
    <title>Document</title>

</head>
<body>
    <div id="app">
        <!-- 插值表达式 -->
        {{msg}},text<br/>
        <!-- 这个会覆盖 -->
        <div v-text="msg">xxxxxx</div>
        <!-- 想不被覆盖要用字符串拼接 -->
        <div v-text="msg+',xxxx'"></div>
    </div>
   <script>
      
       var vue = new  Vue({
           el:"#app",
           data:{
               msg:'hello vue'
            
           }
        
       })
   </script>
</body>
</html>